<%@page contentType="text/html; charset=UTF-8" language="java"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", -10);
%>

<html>
	<head>
		<s:head theme="ajax" />
		<title>控制时间页面</title>
		<style type="text/css">
		</style>
		<script type="text/javascript" src="../javascript/common.js"></script>
		<link rel="stylesheet" href="../javascript/css.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/common.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/counter.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/counter2.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/css.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/dtree.css" type="text/css"></link>
		<link rel="stylesheet" href="../css/login.css" type="text/css"></link>
		<script type="text/javascript">
		function setTime(){
		if(form1.beginTime.value==""){
			alert('请选择起始时间');
			form1.beginTime.focus();
			return false;
		}
		if(form1.lastTime.value==""){
			alert('请选择停止时间');
			form1.lastTime.focus();
			return false;
		}
		
		document.form1.action="review/ControlTime.action";
		document.form1.submit();
		}
		function setEmpty()
		{
		document.form1.action="review/ControlTime2.action";
		document.form1.submit();
		}
		</script>
	</head>
	<body>
		<br>
		<form method="post" name="form1">
			<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center"
				border="0">
				<TBODY>
					<TR>
						<TD>
							<IMG src="../images/manage/arron1.gif">
							<FONT class="font_lv">申报时间设置 </FONT>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<table cellSpacing="1" cellPadding="1" width="100%" align="center"
				border="0">
				<tr>
					<td class=line>
						<table height="100%" cellSpacing=1 cellPadding=2 width="100%"
							bgcolor="#CCCCCC" border=0>
							<tr bgcolor="#FFFFFF">
								<td height="25" colspan="2" align="center"
									background="../images/manage/title_bg.jpg" class="font_12_B_w">
									设置时间
								</td>
								<td height="25" colspan="2"
									background="../images/manage/title_bg.jpg">
									注意
									<font color="red">*</font>表示必填项；英文和数字应为半角字符
								</td>
							</tr>


							<tr bgcolor="#FFFFFF">
								<td>
									起始日期
								</td>
								<td>
									<input name="beginTime" value="${systemparamModel.paramValue}"
										Class="id_kuang" id="b">
									<a href="javascript:insertDate(document.form1.beginTime);">选择</a>
								</td>
								<td>
									<span class="style4">*</span>点击“选择”链接选择日期
								</td>
							</tr>
							<tr bgcolor="#FFFFFF">
								<td>
									终止日期
								</td>
								<td>
									<input name="lastTime" value="${systemparamModel2.paramValue }"
										Class="id_kuang" id="l" />
									<a href="javascript:insertDate(document.form1.lastTime);">选择</a>
								</td>
								<td>
									<span class="style4">*</span>点击“选择”链接选择日期
								</td>
							</tr>
							<tr bgcolor="#FFFFFF">
								<td></td>
								<td>
									<input name="button" class="btn1" type="button" id="button"
										value="启用" onclick="setTime()">
									<input name="button1" class="btn1" type="button" value="停用"
										onclick="setEmpty()" />
								</td>
								<td>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
